package com.wxy.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author e-Xiaoyuan.Wang
 * @since 2023-02-17
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("mybatis_user")
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String homeAddress;

    private String userName;

    private String content;


}
